Skip to content

Test: Use environment variable instead to allow OpenMPI run as root#7617

Merged
mohanchen merged 1 commit into
deepmodeling:developfrom
Growl1234:develop
Jul 11, 2026
Merged

Test: Use environment variable instead to allow OpenMPI run as root#7617
mohanchen merged 1 commit into
deepmodeling:developfrom
Growl1234:develop

Conversation

@Growl1234

@Growl1234 Growl1234 commented Jul 11, 2026

Copy link
Copy Markdown

Only OpenMPI supports the --allow-run-as-root flag, so the tests would fail whenever ABACUS is built with another MPI implementation, such as MPICH or Intel MPI. Using environment variables avoids the need for this flag; other MPI implementations and programs will simply ignore these variables, thereby avoiding errors caused by an unrecognized --allow-run-as-root option.

Copilot AI review requested due to automatic review settings July 11, 2026 08:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Growl1234 Growl1234 changed the title Test:Use environment variable instead to allow OpenMPI run as root Test: Use environment variable instead to allow OpenMPI run as root Jul 11, 2026

@QuantumMisaka QuantumMisaka left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mohanchen mohanchen merged commit ba4de63 into deepmodeling:develop Jul 11, 2026
18 checks passed
@mohanchen mohanchen added Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS Tests/Examples Issues/PR related to unit tests and integrate tests labels Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Compile & CICD & Docs & Dependencies Issues related to compiling ABACUS Tests/Examples Issues/PR related to unit tests and integrate tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants